import request from '@/utils/http'

// 关键期限图表-原值
export async function get_critical_deadline_table(params?: any): Promise<any>{
  return request(`/api/rate/critical_deadline/table`,{
    method: 'POST',
    data: params
  })
}




// 查询历史数据-原值
export async function get_history_percent(params?: any): Promise<any>{
  return request(`/api/rate/critical_deadline/history_percent`,{
    method: 'POST',
    data: params
  })
}

// 查询历史数据-图片-原值
export async function get_critical_deadline_chart(params?: any): Promise<any>{
  return request(`/api/rate/critical_deadline/chart`,{
    method: 'POST',
    data: params
  })
}

// 查询历史数据-分位值
export async function get_critical_deadline_percent(params?: any): Promise<any>{
  return request(`/api/rate/critical_deadline/percent `,{
    method: 'POST',
    data: params
  })
}

// 查询用户是否首次点击
export async function get_first(params?: any): Promise<any>{
  return request(`/api/rate/teaching_log/get_first`,{
    method: 'POST',
    data: params
  })
}

// 点击
export async function teaching_log(params?: any): Promise<any>{
  return request(`/api/rate/teaching_log/over`,{
    method: 'POST',
    data: params
  })
}



